<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var name = 1;
        var a = null, age = 10, str = "我是字符串", b = 10, c;
        // console.log(typeof a);
        // console.log(typeof age);
        // console.log(typeof str);
        // console.log(typeof b);
        // console.log("c= " + typeof c);
        // console.log(typeof name);
        // var i = "50px";
        // var c = "px50";
        // var o = "50px50";
        // var p = "50.51";
        // document.write(parseInt(i));
        // document.write(parseInt(c));
        // document.write(parseInt(o));
        // document.write(parseInt(p));
        var q = 1;
        var w = "2";
        var source = 85, b = true, c;
        console.log(source && b && 6 * "ab");
        console.log(q + 2);
        console.log(1 && 5);
        console.log(0 && c);
        console.log(1 && "imooc");
        console.log(55 > 78 || 45 < 78);
        console.log(NaN || undefined || 1);
        console.log(1 || "0" || 33);
        console.log(a = !(!undefined) || b != 0);
    </script>
</head>

<body>

</body>

</html>